﻿using System.Configuration;

namespace Borg.Config
{
    public class AddOnElementCollection : ConfigurationElementCollection
    {
        protected override ConfigurationElement CreateNewElement()
        {
            return new AddOnElement();
        }

        protected override object GetElementKey(ConfigurationElement element)
        {
            return ((AddOnElement)element).Type;
        }
    }
}
